package com.zx.callback.common.listener;


import com.zx.callback.common.constants.SysEnviron;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;


public class InitEnvironListener implements ServletContextListener {
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        SysEnviron.WEB_ROOT_REALPATH = servletContextEvent.getServletContext().getRealPath("/");
    }

    public void contextDestroyed(ServletContextEvent servletContextEvent) {

    }
}
